﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;
using DAL;

namespace BLL
{
    public class B_Login
    {
        private DAL.D_Login dal= new DAL.D_Login();
        public bool IsExists(string strLogin,string strPass,out M_Login loginmodel)
        {
            return dal.IsExist(strLogin, strPass, out loginmodel);
        }
        public string GetLoginNameById(string strId)
        {
            return dal.GetLoginNameById(strId);
        }
        public int UpdatePassword(string strName, string strPassword)
        {
            return dal.UpdatePassword(strName, strPassword);
        }
    }

}
